
package com.jsu.collegestudentadmissionsystem.dao;

import com.jsu.collegestudentadmissionsystem.pojo.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentDao {
    List<StudentList> searchStudentList();

    List<StudentInformation> queryStudentInfo(Integer studentId);

    void insertStudentInfo(Integer studentId,String stuName,String gender,String birthday,String householdRegistration);

    void selectExamSubjects(Integer studentId,String first,String second,String third);

    List<StudentSubjectInformation> searchSubjects(Integer studentId);

    List<StudentScoreInformation> searchScoreRank(Integer studentId);

    List<StudentAdmission> searchEnrollmentInfo(Integer studentId);

    List<CollegeInformation> searchCollegeInfoByBath(Integer bath);

    List<CollegeInformation> searchCollegeInfoByName(String name);

    List<CollegeInformation> searchCollegeInfoByCode(String code);

    List<CollegeMajorInfo> searchCollegeMajorInfo(String str);

    List<StudentChoiceInfo> searchStudentChoiceList(Integer studentId);

    void deleteStudentChoice(Integer studentId,Integer collegePriority,Integer majorPriority);

    Integer queryCollegeMajorId(String collegeCode,String majorCode);

    void fillStudentChoice(Integer studentId,Integer collegeMajorId,Integer collegePriority,Integer majorPriority);

//    List<StudentInformation> queryStudentCourseInfo(Integer studentId);
}

